<?php Block::put('breadcrumb') ?>
<style>
    .compact-container .responsive-sidebar .layout-row > .padded-container{ padding: 0 !important; }
    body .fr-toolbar{ border-top-color: #fafafa !important; background: #fafafa; }
</style>
<?php Block::endPut() ?>

<?php if (!$this->fatalError): ?>

<?php Block::put('form-contents') ?>
<div class="layout fancy-layout form-fields-wrap master-tabs">
    <?= $this->formRender(['section' => 'outside', 'useContainer' => false]) ?>
    <?= $this->formRender(['section' => 'primary', 'useContainer' => false]) ?>
</div>
<?php Block::endPut() ?>

<?php Block::put('form-sidebar') ?>
<div class="hide-tabs">
    <?= $this->formRenderSecondaryTabs() ?>
</div>
<?php Block::endPut() ?>

<?php Block::put('body') ?>
<?= Form::open(['class'=>'layout stretch']) ?>
<?= $this->makeLayout('form-with-sidebar') ?>
<?= Form::close() ?>
<?php Block::endPut() ?>

<?php else: ?>
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
<p><a href="<?= Backend::url('summer/shop/product') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
<?php endif ?>